﻿<Window x:Class="WPFEdit.Views.Selector"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d"
             ResizeMode="NoResize"
             Height="522"
             Width="599"
             Title="{Binding WindowTitle}"
             ShowInTaskbar="True"
             WindowStartupLocation="CenterOwner" 
             d:DesignHeight="318" d:DesignWidth="602" WindowStyle="SingleBorderWindow" Topmost="False" BorderThickness="1">
    <Grid>
        <ListBox Height="245" HorizontalAlignment="Left" Margin="12,30,0,0" Name="SelectorItems" VerticalAlignment="Top" Width="250" ItemsSource="{Binding Items}" SelectionChanged="SelectorItems_SelectionChanged" />
        
        <Button Content="OK" Height="23" HorizontalAlignment="Left" Margin="410,448,0,0" Name="OKButton" VerticalAlignment="Top" Width="75" IsDefault="True" Click="OKButton_Click" />
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="491,448,0,0" Name="CancelButton" VerticalAlignment="Top" Width="75" IsCancel="True" />
        <GroupBox Header="Description" Height="262" HorizontalAlignment="Left" Margin="275,13,0,0" Name="DescriptionGroupBox" VerticalAlignment="Top" Width="291">
            <DockPanel>
                <TextBlock Name="SelectedDescription" Text="{Binding ElementName=SelectorItems, Path=SelectedItem.Description}"/>
            </DockPanel>
        </GroupBox>
        <Label Content="{Binding InputLabel1}" Height="28" HorizontalAlignment="Left" Margin="12,304,0,0" Name="InputBoxLabel1" VerticalAlignment="Top" Width="106" Visibility="Hidden" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="137,304,0,0" Name="InputTextBox1" VerticalAlignment="Top" Width="423" Visibility="Hidden" />
        <Label Content="{Binding InputLabel2}" Height="28" HorizontalAlignment="Left" Margin="12,338,0,0" Name="InputBoxLabel2" VerticalAlignment="Top" Visibility="Hidden" Width="106" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="137,338,0,0" Name="InputTextBox2" VerticalAlignment="Top" Visibility="Hidden" Width="423" />
        <Label Content="{Binding InputLabel3}" Height="28" HorizontalAlignment="Left" Margin="12,372,0,0" Name="InputBoxLabel3" VerticalAlignment="Top" Visibility="Hidden" Width="106" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="137,372,0,0" Name="InputTextBox3" VerticalAlignment="Top" Visibility="Hidden" Width="423" />
    </Grid>
    
</Window>
